package com.hong.springboot.demo;

import com.hong.framework.redisplus.annotation.RedisLock;
import org.springframework.stereotype.Service;

@Service
public class DemoService {

    @RedisLock(keys = "test_#id",expire = 30000,tryTimeout = 1000)
    public String testService(String id){
        return id;
    }
}
